package cn.edu.zsc.rbac.service;

import cn.edu.zsc.rbac.domain.dto.UserDto;
import cn.edu.zsc.rbac.domain.entity.Dept;
import cn.edu.zsc.rbac.domain.entity.User;
import cn.edu.zsc.rbac.domain.vo.Result;

/**
 * 业务层接口-用户
 */
public interface IUserService extends IBaseService<User,UserDto>{




    Result toggle(int id);

    boolean deptInUse(int deptId);
    boolean roleInUse(int roleId);
}
